package roleService

import (
	"news_for_deepseek_interface/model"
	adminModel "news_for_deepseek_interface/model/admin"
)

func Delete(ids []int) error {
	db := model.GetInstance().GetDB().Model(&adminModel.AdminGroupStruct{})

	return db.Where("id in (?)", ids).Delete(&adminModel.AdminGroupStruct{}).Error
}
